<?php 
namespace Admin\Model;
use Think\Model\ViewModel;
class WeiboViewModel extends ViewModel {
	public $viewFields = array(
		'weibo'=>array('id'=>'wid','content','isturn','turn','comment','time','keep','_type'=>'LEFT'),
		'picture'=>array('max'=>'pic','_on'=>'weibo.id=picture.wid','_type'=>'LEFT'),
		'userinfo'=>array('username','id','_on'=>'userinfo.id=weibo.uid')
	);
}
 ?>